Semiglobal simplex optimization and its application to determining the preferred solvation sites of proteins