Dosimetric evaluation of a variable energy superficial X-ray machine with applications for endocavitary radiotherapy techniques.