A solenoid is used as a temporary magnet (an electromagnet). Why is a soft iron core preferred as compared to steel core?