Theoretical studies of the ground and excited states of a model of the active site in oxidized and reduced rubredoxin