Elastic and plastic effects on solid-state transformations: A phase field study