Duality and exact correlations for a model of heat conduction