The in situ formation of heavy oil emulsions