Tidal truncation of circumplanetary discs