On statistical energy functions for biomolecular modeling and design