A train travels from Station A to Station B at a speed of 80 km/h and returns from Station B to Station A at a speed of 60 km/h. If the distance between the two stations is 240 kilometers, what is the average speed of the train for the entire trip?