Canonical entanglement for two indistinguishable particles