A suicide bomber has killed 35 people and wounded at least 79 at a Shi'ite shrine in Baghdad, Iraqi officials have said.