with alkaline earth metals, magnesium, beryllium, zinc, cadmium or mercury