Olbers, Heinrich Wilhelm Matthias, Astronomer