Classification-Aided Multitarget Tracking Using the Sum-Product Algorithm