Large thermoelectric power factors in black phosphorus and phosphorene