nestcheck: error analysis, diagnostic tests and plots for nested sampling calculations