Relationship between structural properties and elastic anomalies in Ag/Ni superlattices