The most severely mentally unwell wait longest for care, says report