Title: Microscopic studies of quantum phase transitions in optical lattices