Analysis by the British Medical Journal (BMJ) found minimum waits of up to 16 weeks for hip, knee and cataract surgery