MEASUREMENT OF THE PROTON STRUCTURE-FUNCTION F2 IN EP SCATTERING AT HERA