Analysis of PIN1 WW domain through a simple statistical mechanics model.