A train has derailed in Aberdeenshire, northeast Scotland, following heavy rain and a landslip in the region, with initial reports of serious injuries.