Influence of Magnetic Nanoparticle Degradation in the Frame of Magnetic Hyperthermia and Photothermal Treatments