Learning Specialized Activation Functions for Physics-informed Neural Networks