Relaxation of mechanical stress in polyimide films by softbaking