Effect of flattened surface morphology of anodized aluminum oxide templates on the magnetic properties of nanoporous Co/Pt and Co/Pd thin multilayered films