Co-sleeping with children has biological benefits – but it's not always the answer to a good night's sleep, Sarah Blunden