DNA test 'could predict most effective diet'