How long does it take to smoke a ham