Interacting dark energy with time varying equation of state and the H0 tension