Energy Bilocalization Effect and the Emergence of Molecular Functions in Proteins