Mass and lifetime measurements of bottom and charm baryons in p-pbar collisions at sqrt(s)=1.96 TeV