Conformational entropy from molecular simulations