New Brunswick Liberals will form majority government, ending six years of Tory rule