Controlled manipulation of population oscillations and quantum statistics of a Bose–Einstein condensate confined in an optical lattice