A pre-martensitic elastic anomaly in nanomaterials: elasticity of surface and interface layers