Four Israeli soldiers held by Hamas in Gaza have been handed over to the Red Cross.