what causes difficulty in sleeping at night