Computational analysis of ligand recognition mechanisms by prostaglandin E2 (subtype 2) and D2 receptors