What is formed when a carboxyl group is substituted for a hydrogen