A gamma-shaped detection function for line-transect surveys with mark-recapture and covariate data