General criterion for the entanglement of two indistinguishable particles (10 pages)