IV‐VI semiconductor lateral‐collection photodiodes