Type III subfactors and planar algebras