Phase-transition critical thickness of rocksalt MgxZn1-xO layers.