Title: Self-consistent field approach to protein structure and stability