Exact results on ABJ theory and the refined topological string