Epoxidation of n-hexene and cyclohexene over titanium-containing catalysts