Double covers of smooth hyperquadrics as ample and very ample divisors