A consistent truncation of IIB supergravity on manifolds admitting a Sasaki-Einstein structure