Periodic solutions of daes with applications to dissipative electric circuits