Joint statistics of a passive scalar and its dissipation in turbulent flows