Calculations of the optical properties of metals by LMTO method