Mental health problems among clients with substance use problems: a nationwide time-trend study