Deep Learning for Mean Field Games and Mean Field Control with Applications to Finance