A four-loop calculation of the metric β-function for the bosonic σ-model and the string effective action