Leicester have confirmed the signing of striker Stephy Mavididi on a five-year deal from French club Montpellier.