Quantum gravitational effects near cosmic strings