Crystal structure and optical spectroscopy of CaGdAlO4:Er single crystal