Cast polycrystalline silicon Schottky-barrier solar cells