Alberta proclaims law that could cut energy flows to British Columbia