Trees with equal average domination and independent domination numbers