How DePIN Projects Work: A Guide to Decentralized Physical Infrastructure