Report: Consumer-electronics spending to top $1 trillion in 2017