First-principles calculations of structural, elastic and electronic properties of AB2 type intermetallics in Mg–Zn–Ca–Cu alloy