Maybe you’re working from home more often — or you need a place to retreat from the world. Here’s how to make your bedroom do double (or triple) duty.