Bitcoin near all-time high as dollar slides to three-year low