Optimal electrode shape and size of lateral-field-excited piezoelectric crystal resonators