Spins and parities of hole states in25Na and25Mg