Hopf bifurcation in modified Ramsey model with delay