Macroscopic entanglement in Josephson nanocircuits