Driver of train that derailed in Spain charged