The cyclicity of the period annulus of a reversible quadratic system