Optimal time decay rates of solutions for the 2D generalized magneto-micropolar equations