Optically encoded multifunctional nanospheres for one-pot separation and detection of multiplex DNA sequences.