Giant magnetoimpedance effect in a coil with magnetic core and its application in current monitoring