Classical density functional theories of ionic solutions