Comparison of thermal and electrical degradation effects in polyfluorenes