In vivo imaging identifies temporal signature of D1 and D2 medium spiny neurons in cocaine reward