Thalassemia is a hereditary disease. It affects