Structure and phase transitions of monolayers of intermediate-length n-alkanes on graphite studied by neutron diffraction and molecular dynamics simulation