The role of mesenchymal–epithelial transition in endometrial function