Magnetic properties of an anti-ferromagnetic and ferrimagnetic mixed spin-1/2 and spin-5/2 Ising model in the longitudinal magnetic field within the effective-field approximation