Former Indian prime minister Manmohan Singh has been cremated after a state funeral as politicians and the public mourned his death.