Giving people information about how much gas or electricity their neighbors use encourages them to use less energy, research shows.