BaseHtml::checkbox() and BaseHtml::radio() fixes

Code:

```php
use yii\helpers\Html;
echo Html::checkbox('test', false, ['labelOptions' => ['class' => 'test']]);
echo Html::radio('test', false, ['labelOptions' => ['class' => 'test']]);
```

lead to undefined index errors.