The optimization of protein‐solvent interactions: Thermostability and the role of hydrophobic and electrostatic interactions