Hospitals teach parents how to cope with inconsolable babies