how did spartans train boys and girls so they could protect the city-state?