Diffractive production on nuclei and total cross sections of unstable particles