Friction factors of finite and infinite square arrays of roughened pins