Automatically characterizing places with opportunistic crowdsensing using smartphones