Model for the field effect from layers of biological macromolecules on the gates of metal-oxide-semiconductor transistors