Bat-inspired optimization of multilayered adaptive structures