Physical properties of the HAT-P-23 and WASP-48 planetary systems from multi-colour photometry