Diagonalization of Coupled Scalars and its Application to the Supersymmetric Neutral Higgs Sector