Security of secret sharing schemes expressed in terms of the relative parameters of linear codes