Excitation of energy harvesters using stick–slip motion