Dimensionality effects in Turing pattern formation