Regioselectivity in the TiO2-mediated photooxidation of 1,n-diols