Process-chain approach to the Bose-Hubbard model: Ground-state properties and phase diagram