In situ growth of ultra-smooth or super-rough thin films by suppression of vertical or horizontal growth of surface mounds