Conformational fluctuations and electronic properties in myoglobin