Emergence of cooperation induced by preferential learning