Investigation of roughness periodicity on the hydrophobic properties of surfaces