Effects of polydispersity on osmotic properties of colloidal suspensions