Three-dimensional motion and transformation of a photoelectrochemical actuator.