Spain passenger train derails, killing at least 40