Ultrafast-laser-assisted chemical restructuring of silicon and germanium surfaces