Pitch-angle diffusion of relativistic electrons due to resonant interactions with whistler waves