Detectives arrest suspect in two armed robberies