Phototrophic biofilms and their potential applications