Semidefinite programming relaxations applied to determining upper bounds of C-numerical ranges