Photoelastic effect in ZnO nanorods