Relativistic versus nonrelativistic quantum molecular dynamics