The supersymmetric effective action of the heterotic string in ten dimensions