Tata to build £4bn electric car battery factory in UK