In situ determination of the mechanical stress in anodic aluminum films