Ti gate compatible with atomic-layer-deposited HfO2 for n-type metal-oxide-semiconductor devices