Core-induced photofragmentation of acetonitrile adsorbed on Au(111) and Pt(111)