Chileans vote overwhelmingly to tear up dictatorship-era charter in favour of new citizen-written constitution.