Transfer of electrons through friction