Experimental realization of a resonant tunneling transistor