Sony unveils flagship Xperia Z smartphone