Measurement of the longitudinal proton structure function at HERA