Intranuclear strain measured by iterative warping in cells under mechanical and osmotic stress