Dynamical chiral symmetry breaking in gauge theories with extra dimensions