Erosion and molecule formation in condensed gas films by electronic energy loss of fast ions