Environmental effects on mechanochemical activation of spiropyran in linear PMMA