Experimental designs for generalized linear models and functional magnetic resonance imaging