Dark matter annihilation and decay in dwarf spheroidal galaxies: the classical and ultrafaint dSphs