Temperature dependence of dark current in a p–i–n photodiode incorporating a resonant tunneling structure