Optimization of accelerator parameters using normal form methods on high-order transfer maps