Critical chip firm ASML posts fourth-quarter sales and profit beat