Prediction of elastic and electronic properties of cubic Al18Ti2Mg3 phase coexisting with Al3Ti in Al–Ti–Mg system