The role of phenotypic plasticity in driving genetic evolution