A comparison of discrete versus continuous adjoint states to invert groundwater flow in heterogeneous dual porosity systems