Hough Transform for detecting moving objects in astronomical data