Rationale design of a layer-by-layer nanostructure for X-ray induced photodynamic therapy