Water cannon, tear gas and rubber bullets have been used by police in Turkish city of Istanbul to disperse protesters angry over the arrests of politicians and journalists.