Trends in non-metal doping of anatase TiO2: B, C, N and F