Supersymmetry and electroweak symmetry breaking from extra dimensions