B.J. Upton, Moore help Rays beat Baltimore