what are the 2 kinds of electric circuit