Gold futures rise to 3-week highs on Iraq, Ukraine tensions