Evolution of holographic entanglement entropy after thermal and electromagnetic quenches