difficulty in sleeping in medical term