Gold fails to hold above key $1,300 level, posts daily, weekly losses