Key technologies for dual high- k and dual metal gate integration