Electronic structure and optical properties of Ce-doped AlN studied by first-principles