Synthesis of nanoporous Baghdadite by a modified sol-gel method and its structural and controlled release properties