Buffer gas cooling of YbF molecules