The Brooklyn Nets and Kyrie Irving pledge to donate $1m to combat "hate and intolerance" after the guard was criticised