Digital photoelasticity in biomedical sensing