Can nematic transitions be predicted by atomistic simulations? A computational study of the odd-even effect