Canada's Liberal party takes hit in elections