Palladium catalysed heck reactions and allylic substitution reactions using glass bead technology