Study of the optical properties of solids by using full potential linear augmented plain wave (LAPW) method