Structural relaxation and avalanche dynamics of particle piles under vertical vibration