Hinckley, John, Secretary to the Royal Institution