Equivalent conditions for the reverse order property invariance under generalized inverses of matrices