Barry Gardiner, a former environment minister, made £198,500 profit from a flat funded and refurbished at taxpayers' expense.