Characterization of intertemporal optimality in terms of decentralizable conditions: The discounted case