Structural phase transitions of the metal oxide perovskites SrTiO3, LaAlO3, and LaTiO3 studied with a screened hybrid functional