Impact of educational intervention on prescribing inappropriate medication to elderly nursing homes residents