A rise in services for anxiety, depression and substance use is helping drive higher healthcare costs.