An anonymous shoplifter has written a letter to apologize for stealing chocolate from a shop four decades ago.