Spectrscopic monitoring of active galactic nuclei. 3: Size of the broad line region in NGC 3227