Figures obtained by the BBC show those with life-threatening injuries are waiting longer for an ambulance.