Accelerated expansion of the Friedmann Universe filled with ideal liquid described by an inhomogeneous equation of state