when did king louis xiv die why?