Peierls brackets in field theory