Transport and photoelectric properties of vertical black phosphorus heterojunctions