Stability of switched positive linear systems with average dwell time switching