Deposition of ultrathin films by a withdrawal method