The q-exponential family in statistical physics