The influence of p-doping on two-state lasing in InAs/InGaAs quantum dot lasers