Spice modelling and design optimization for micropumps