Theoretical analysis of effects of doping MAPbI3 into p-n homojunction on several types of perovskite solar cells