Stability and Hopf bifurcation analysis of a distributed time delay energy model for sustainable economic growth