Identification of second-gradient elastic materials from planar hexagonal lattices. Part I: Analytical derivation of equivalent constitutive tensors