Declines in UK pub beer sales slowed in the first quarter of the year but still outpaced falls in the off-trade, new figures have shown.