Boat capsizes; man spends night in water before swimming to shore