Harmonic vibrational excitations in graded elastic networks: Transition from phonons to gradons