Large Mesoscale Convection and Sea Breeze Circulation. Part I: Linear Stability Analysis