Interplay between internal resonance and nonlinear magnetic interaction for multi-directional energy harvesting