Thanks to patent licensing deal with Apple, HTC will make better phones in 2013