Radiation characteristics of SIPOS and polysilicon resistors