Information-theory-based solution of the inverse problem in classical statistical mechanics.