Carla Esparza beat Rose Namajunas for the UFC strawweight title in a fight where very little happened across five rounds.