The formation of ultra-massive carbon-oxygen core white dwarfs and their evolutionary and pulsational properties