The effects of residual stress on modulus measurements by indentation