Former US diplomat pleads guilty to spying for Cuba for more than 40 years