A generalized procedure based on a modified Lee-Kesler equation of state for the automatic calculation of direct and inverse thermodynamic cycles with organic working fluids