A book by a retired Gujarat cadre IAS officer says riots could have been avoided if bureaucrats did their duty