Universal Origin of Boson Peak Vibrational Anomalies in Ordered Crystals and in Amorphous Materials