Impact of DC components in transport current and external magnetic field on hysteresis losses in an HTS tape