Thermal, structural and photophysical properties of the organic semiconductor Alq3