Sears swings to profit in first quarter