TCAD optimization of a dual N/P-LDMOS transistor