NHS patients with severe mental illness waiting up to two years for treatment, report finds