Vibration energy harvesting from random force and motion excitations