Stereoselectivity in the intramolecular Nozaki–Hiyama–Kishi reaction: influence of the substitution pattern and protecting groups in the construction of 10-membered lactones