Photoluminescence and thermoluminescence properties of BaGa2O4