Stereoselective and regioselective thermal and photochemical preparation of siloxy dienes