Periodic orbits and dynamical complexity in Cellular Automata