Automatic Position Detection and Posture Recognition of Grouped Pigs Based on Deep Learning