John Baird struck deep into extra-time to stun Rangers and give Raith Rovers a 1-0 win in the Ramsdens Cup final at Easter Road.