Experimental realization of a microscopic Carnot engine