Flexible electronics: Prediction of substrate deformation during different steps of the lithography process