How is the magnetic field due to a solenoid carrying current affected if a soft iron bar is introduced inside the solenoid?