For many parents, attempting naps and bedtime can seem like a never-ending cycle of rocking, shushing and hoping for some kind of magic sleep solution.