Optimization of the ferric chloride etching of shadow masks