A residual-based a posteriori error estimator for single-phase Darcy flow in fractured porous media