Adaptive Potential of Epigenetic Switching During Adaptation to Fluctuating Environments