From flagellar undulations to collective motion: predicting the dynamics of sperm suspensions