Elastic, electronic and crystal structure of BaH2: a pseudopotential study