Ordering and Phase Transitions in Adsorbed Monolayers of Diatomic Molecules