A government department has refused to release the results or costs of the poll on Scottish independence.