Explosive synchronization caused by optimizing synchrony of coupled phase oscillators on complex networks