Periodic solutions for phase transition models