India buys French warplanes and submarines