An energy-tunable positronium beam produced using the photodetachment of the positronium negative ion