Formation of sharp metal-organic semiconductor interfaces: Ag and Sn on CuPc