Model reduction for optimized online compensation of hysteresis and creep in piezoelectric actuators