An inherited gene makes certain healthy foods taste exceptionally bitter and unpleasant, according to researchers.