Molecular structure of hydrocarbon monolayers on metal surfaces