Fast algorithms for the analysis of single and double exponential decay curves with a background term. Application to time‐resolved imaging microscopy