Correlation of the electrical, thermal, and optical properties of CVD diamond films by scanning microscopy techniques