Structures and phase transition in (C3H7NH3)2PbCI4