Measurement of thin-layer surface stresses by indentation fracture