Defect Detection in Photolithographic Patterns Using Deep Learning Models Trained on Synthetic Data