Calculation of efficiency of concentrated solar cells