Nanosecond laser ablation and deposition of silicon