Radiative Opacity in Stellar Atmospheres. I. Metal Absorption Coefficients