The built-in voltage and space charge layer capacitance of p−n junctions