Correlation between microhardness and microstructure of anodic film on 2024 aluminum alloy