With presidents Obama, Castro watching, Rays beat Cuban team