Chinese authorities say they have punished 31 officials and fired 12 others because of their poor handling of relief supplies and response to the country 's massive earthquake last month .