a-function for N=2 supersymmetric gauge theories in three dimensions