A new code addressing the power imbalance between major grocery retailers and their suppliers comes into force on Thursday.