Simple synthesis of Co3O4 nanoflakes using a low temperature sol–gel method suitable for photodegradation of dyes