New Caledonia elects first pro-independence president