Hernandez 5 RBIs, Dodgers beat Giants 8-1 in fan-less opener