Experimental study of electron cooling