Sparse nonnegative deconvolution for compressive calcium imaging: algorithms and phase transitions