Prince Harry has admitted he was "probably bigoted" before dating his wife Meghan, Duchess of Sussex.