Template-assisted spray-drying method for the fabrication of porous particles with tunable structures