Synthesis of carbo- and aza-bicyclo[4.3.0] and [4.4.0] compounds by Ti(II)-mediated cyclization of 2,7- or 2,8-enynyl-1-ol derivatives