Revised Lewis-Langmuir atomic charge equation: a quick calculation of atomic charges and some applications