A latent markov model approach for measuring national gender inequality