Polar bears related to extinct Irish bears, DNA study shows