Posey, Sanchez return as Giants beat split Reds