Duration of an electricity and/or gas contract: know the rules