Design optimization of a microelectromechanical electric field sensor using genetic algorithms