Hybridization of layered niobates with cationic dyes