Stability analysis of adaptively controlled not-necessarily minimum phase systems with disturbances