Effects of nuclear polarizability on isotope shifts in electronic atoms