Surface operators in N = 2 4d gauge theories