Flow past a cylinder on a beta plane, with application to Gulf Stream separation and the Antarctic Circumpolar Current