Refined Chern–Simons theory in genus two