At least 31 dead in attacks on three Baghdad hotels