Structural, elastic, electronic and optical properties of the cubic perovskite BiAlO3