Experimental detection of entanglement via witness operators and local measurements