Linear optical properties of solids within the full-potential linearized augmented planewave method