The influence of own historical information and environmental historical information on the evolution of cooperation