How to tell it's time to have the kids sleep in their own beds.