Kentucky Supreme Court Justice William S. Cooper to retire June 30