Regulators of number fields and abelian varieties