Inclusive pion production at the angles 0 degrees and 57.8 degrees in 1 GeV proton-nucleus collisions