Borcherds Products on O(2,l) and Chern Classes of Heegner Divisors