Separation of reaction product and palladium catalyst after a Heck coupling reaction by means of organic solvent nanofiltration.