Charging phenomena on insulating materials: Mechanisms and applications