A general class of recapture models based on the conditional capture probabilities