5 ways a smart mattress can help you sleep better if you suffer from back pain, night sweats or restless legs