Sears swings to a first-quarter loss