Erbium-doped silica fibers for intrinsic fiber-optic temperature sensors