Facile green synthesis of organic materials