A variable energy positron beam facility with applications in materials science