Entangled and factorized states in parametric down-conversion sources