US Secret Service director resigns over security breaches