NP-hardness of testing equivalence to sparse polynomials and to constant-support polynomials