NHS reaches key target for patient waiting times