Effects of growth conditions on the electrical properties of epitaxial p-n junctions in gallium arsenide