Geometries and electronic structures of the hydrogenated diamond (100) surface upon exposure to active ions: A first principles study