Optimization of photonic nanojets generated by multilayer microcylinders with a genetic algorithm