UK store group Marks and Spencer is teaming up with online retail giant Amazon to sell its clothing over the internet.