Narrow gap III–V materials for infrared photodiodes and thermophotovoltaic cells