Bitcoin heading for its worst weekly run in three years