Atomic and electronic structure of InP–metal interfaces: A prototypical III–V compound semiconductor