Anomalous cosmic ray fluxes in diffusive shock acceleration processes in the heliosphere and in planetary and WR–nebulae