Critical coupling and synchronized clusters in arbitrary networks of Kuramoto oscillators