Kit Chapman explains how a 'daft' pharmacy mix up led to a series of poisonings in Victorian Britain