The ISW imprints of voids and superclusters on the CMB