First-principles study on visible light absorption of defected SrNbO3