Va. Beach man detained in Afghanistan released