Thermodynamically Consistent Material Model For Moisture Transport In Polymers