Black phosphorus optoelectronics