Buses will be replacing trains between Yeovil Pen Mill and Weymouth on the Heart of Wessex Line between 28 February and 8 March.