Periodically Controlled Hybrid Systems