PopED: Population (and individual) optimal Experimental Design