Squeeze-flow of a Herschel–Bulkley fluid