Reduction of chalcogen oxyanions and generation of nanoprecipitates by the photosynthetic bacterium Rhodobacter capsulatus