Structural phase transition causing anomalous photoluminescence behavior in perovskite (C6H11NH3)2[PbI4].