Two people have been charged after Edinburgh police recovered knives during searches in the city.