Pixel space convolution for cosmic microwave background experiments