Real-time monitoring of brake shoe keys in freight cars