Target space modular invariance and low-energy couplings in orbifold compacifications