Federal police officer linked to 3 deadly Maryland shootings in custody