Room-Temperature Self-Powered Infrared Spectrometer Based on a Single Black Phosphorus Heterojunction Diode.