Multiple scattering and energy loss of fast heavy ions in thin solid targets