Microsoft inks software deal with LG