Historic Firth House in St. Andrews 'a total loss' after fire