Thermographic analysis of localized conductive channels in bipolar resistive switching devices