Selective preparation of macroporous monoliths of conductive titanium oxides Ti(n)O(2n-1) (n = 2, 3, 4, 6).