Assignment of sensing tasks to IoT devices: Exploitation of a Social Network of Objects