Porous SnO2 nanowire bundles for photocatalyst and Li ion battery applications