Ultraviolet radiation detection by barium titanate thin films grown by sol–gel hydrothermal method