Exact relations for effective tensors of composites: Necessary conditions and sufficient conditions