A Survey on Application of Machine Learning Techniques in Optical Networks