Ground and excited state properties of alizarin and its isomers