Regularity properties of the period function near a centre of a planar vector field