An inverse eigenvalue method for frequency isolation in spring–mass systems