LG.Philips to spend $5.1 billion on new flat-panel TV factory