Time-dependent density functional theory calculations for core-excited states: assessment of standard exchange-correlation functionals and development of a novel hybrid functional.