Chilean constitutional convention elects new president