Visual determination of aliphatic diamines based on host-guest recognition of calix[4]arene derivatives capped gold nanoparticles.