Physics of doped tin dioxide films for spectral-selective surfaces