Primers for adhesives and mortars