Structural study of PbTiO3, PbZrO3 and PbHfO3