Lenovo returns to profit as PC market stabilises