Dual function hip abductor and adductor machine