Gravar-mail: Locally adaptive activation functions with slope recovery for deep and physics-informed neural networks