mental illness factors and causes