Phosphorus-doping-induced rectifying behavior in armchair graphene nanoribbons devices