The application of Monte Carlo methods to physicochemical problems