Magnetic force of piezoelectric cantilever energy harvesters with external magnetic field