Computer simulation of liquid/liquid interfaces. I. Theory and application to octane/water | Synapse