Retiring Premier League referee Anthony Taylor says his decision to quit was partly due to the toxic debate around officials.