Energy Usage Evaluation and Condition Monitoring for Electric Machines using Wireless Sensor Networks