Reputation based mechanisms for distributed estimation in sensor networks