Deep physical neural networks trained with backpropagation