BeatFM: Improving Beat Tracking with Pre-trained Music Foundation Model