Isothermal-isobaric ensemble for small systems.