Anharmonicity and fragility in linear and reticulated polymers