Organic synthesis associated with serpentinization and carbonation on early Mars