Application of wireless sensor networks to environmental monitoring for sustainable mobility