Oscillatory flow of droplets in capillary tubes. Part 1. Straight tubes