The gamma-ray spectrum of 227Th