General analytical solution to minority-carrier transport in uniformly-doped light-trapping Si solar cells