The p−n junction under nonuniform strains: general theory and application to photovoltaics. (January 2018)