Royals sign relief pitcher to 1-year deal