Amorphous phase formation rules in high-entropy alloys*