Surface chemistry study of Mn-doped germanium nanowires