Parameterfree account of quasielastic scattering of stable and radioactive nuclei