UK Foreign Secretary says intelligence agencies compliant with law