A string-based representation and crossover operator for evolutionary design of dynamical mechanisms