Cubic regularization in symmetric rank-1 quasi-Newton methods