Mesoscopic community structure of financial markets revealed by price and sign fluctuations