The creator of the Channel 4 drama shares the heart-wrenching stories of the mill-workers who inspired his characters, and why some words he wrote brought him to tears