Characteristic photon emission from ion bombarded silicon and silica surfaces