Lamarckian Inheritance Improves Robot Evolution in Dynamic Environments