insufficient insulin production or resistance to its effects