Heegner cycles and L-functions