Cohesive properties and vibrational entropy of 3d-transition metal carbides