Efficient Construction and Implementation of Short LDPC Codes for Wireless Sensor Networks