O18O and C18O observations of ρ Ophiuchi A