Diode capacitances