Optimal design of cluster randomised trials with continuous recruitment and prospective baseline period