Simultaneous Large Optical and Piezoelectric Effects Induced by Domain Reconfiguration Related to Ferroelectric Phase Transitions