Integrity measures quantifying the erosion of smooth and fractal basins of attraction