Comparison between electromagnetic and piezoelectric seismic vibration energy harvesters