Hardness of a surface containing uniformly spaced pyramidal asperities