Joyce's slam carries Rays past Red Sox, 7-4