A mean-field theory of a localized excess electron in a polar fluid