Conditional unitary transformation on biphotons