Freight train engines, cars derail and catch fire in Maine