Solid phase-mediated synthesis of isonitriles