The commensurate-incommensurate transition of hydrogen monolayers physisorbed on graphite