Shadow health secretary ‘disgusted’ by treatment of junior doctors