An optimal design of elastic plastic structures with bounds on transient and steady-state plastic deformations