Surface operators in the 6d N = (2, 0) theory