Optical measurements of morphology-to-functional parameters on electrical contacts of photovoltaic cells