Comparison of thermostatting mechanisms in NVT and NPT simulations of decane under shear