Effects of dielectric core and embedding medium on plasmonic coupling of gold nanoshell arrays