What are the main causes of insomnia?