Unified Theory of Allometric Scaling