A rapid method of determining the strength of rocks in situ