Lower and upper bounds on the energy of braided magnetic fields