Interaction of fast molecular ions with surfaces