UK inflation rate eases but still near 40-year high