The cyclicity and period function of a class of quadratic reversible Lotka–Volterra system of genus one