Canada energy companies, police scramble to protect pipelines