Phase transitions of hexagonal BaTiO3 studied by Eu3+ photoluminescence