Endometrial dysfunction: an algorithm for histological and immunohistochemical studies