Lifetime determination in delayed-coincidence experiments using the differential decay-curve approach