Boron- and phosphorus-doped polycrystalline silicon thin films prepared by silver-induced layer exchange