Dogs seem to know the basic way objects should behave, study claims