Photonic light-trapping versus Lambertian limits in thin film silicon solar cells with 1D and 2D periodic patterns