Preparation of boron–carbon–nitrogen thin films by magnetron sputtering