P-doping mechanisms in catalyst-free gallium arsenide nanowires.