HCGrid is a convolution-based gridding framework for radio astronomy on hybrid computing environments