Twitter trolls stoked debates about immigrants and pipelines in Canada, data show