Coupled organic synthesis and mineral alteration on meteorite parent bodies