Cosmic-ray positron fraction measurement from 1-GeV to 30-GeV with AMS-01