Alastair Cook has no regrets as captain