ANS ultraviolet observations of external galaxies. I - Exciting stars of H II regions in the Large Magellanic Cloud