Preparation of organic compounds containing a metal or atom other than H, N, C, O, S or halogen