A Unified Approach to Darboux Transformations