PV cell and module degradation, detection and diagnostics