Substrate selective deposition and etching of silicon thin films