Wafer-scale fabrication of silicon nanowire arrays with controllable dimensions