Mariners snap losing skid with 2-1 win against Rays