Structural insights into protein–metal ion partnerships