Novel Methods for Intensive Longitudinal Data in SMART Studies of Drug Abuse and HIV