Monitoring feeding and resting pattern of goats in dairy farm using long-range RFID-based system