As he publishes his latest cosy crime novel, Richard Osman talks to Helen Brown about his sugar addiction and how books are the antidote to AI slop