How are capacitors divided into two types