Deposition of semiconductive layers