what is capacitor and types of capacitors || electromechanics