Development of an ion-sensor using fluorescence resonance energy transfer