This is why your mattress dips in the middle — and how to tell if it's safe to sleep on