Dependence of adhesion and friction on porosity in porous anodic alumina films