Theoretical model for the separated flow around an accelerating flat plate using time-dependent self-similarity