Lie algebroids from the point of view of noncommutative geometry