Visualization of optical and thermal performance of solar components using encapsulated liquid crystals