Classification of real and complex analytic map-germs on the generalized cross cap