Optical metrology methods for mechanical testing of whole bones