Towards high-efficiency ultra-thin solar cells with nanopatterned metallic front contact