Main Street Capital pays special dividend