Smart-grid spending hit $13.9 billion in 2012: BNEF