How to balance single replacement reactions