TPCI: The PLUTO-CLOUDY Interface: A versatile coupled photoionization hydrodynamics code