Ideals of varieties parameterized by certain symmetric tensors