Arrays of microlenses of complex shapes prepared by reaction-diffusion in thin films of ionically doped gels