McIlroy captures Shanghai Masters in playoff when Kim misses short putt