Relation between the boson peak in glasses and van Hove singularity in crystals