Parity meter for charge qubits: An efficient quantum entangler