Canada police foil shooting spree plot: officials