Anisotropic gap of superconducting CaC6 : A first-principles density functional calculation