Effective thickness method for modeling absorption enhancement of forward-scattering nanoparticles in photovoltaic devices