Group theoretical approach to determine structure of complex and composite media constitutive tensors