Shadow photos of dogs reveal their 'primal nature'