A study of atmospheric neutrino oscillations in the Fréjus experiment