Experimental demonstration of memory-enhanced quantum communication