Republican Sen. Kirk endorses same-sex marriage