Substituent effects on the nonadiabatic dynamics of ethylene: π-donors and π-acceptors