A moderate deviation for associated random variables