An Optimal Switching Algorithm for Multibeam Satellite Systems with Variable Bandwidth Beams