Chemical and isotopic consequences of lunar formation via giant impact