A comparative study based on optical and electrical performance of micro- and nano-textured surfaces for silicon solar cells