The Contact Process on Periodic Trees