Physics of ball sports