Extraterrestrial organic compounds in our solar system: origins and parent-body alterations