Validation of an active RFID-based system to detect pigs housed in pens