Determination of the hardness and elastic modulus from continuous vickers indentation testing