Developmental Patterns in the Understanding of Social and Physical Transitivity