Istanbul's governor has banned a gay and transgender pride march which was due to take place in the city on Sunday.