Different molecular strategies for protein stabilization: effect of pH and temperature evaluated by MD simulations