Self-Consistent Mean-Field Theory for Room-Temperature Ionic Liquids