Nanostructured silicon for antireflection and light trapping in crystalline silicon solar cells