Radiation induced bulk damage in silicon diodes with pions and protons