Ruf hits 2 HRs, Junis wins 3rd straight as Giants beat LA