People who reveal information obtained under the Freedom of Information Act could be jailed under new legal proposals.