Canada's Liberal Party has decisively won parliamentary elections, ending nine years of Conservative rule, partial results show.