Higher derivative brane couplings from T-duality