The interplay between wetting and phase behaviour in binary polymer films and wedges: Monte Carlo simulations and mean field calculations