Divisors and line bundles on toric varieties