Nuclear and hadron matter equation of state within the induced surface tension approach