James Webb telescope discovers carbon compounds crucial to life in star system 1,000 light-years from Earth