Design and characterization of a miniature photobioreactor for microalgae culture