Man charged in two hate-motivated attacks targeting Toronto'