One in five of the 1.92m patients on list wait longer than six weeks for tests such as CT and MRI scans, analysis shows