Towards Integration of Blockchain and Machine Learning Technologies for Security in Smart Cities