The England and Wales Cricket Board (ECB) has published a new code of conduct laying out the rules around gambling sponsorships.