The reactions 16O(d, p)17O and 28Si(d, p)29Si initiated by vector-polarized deuterons