Assembly committee told of “patchy” provision of community mental health services in Wales