Learning to Evaluate the Artness of AI-generated Images