Process effects in shallow junction formation by plasma doping