IMPACT OF DARK MATTER DECAYS AND ANNIHILATIONS ON STRUCTURE FORMATION