what are resistors and capacitors types of capacitors electrolytic variable capacitors