Contribution of ions to the growth of amorphous, polymorphous, and microcrystalline silicon thin films