Structural effects influencing cis–trans isomerisation in methoxy and cyano substituted stilbene derivatives