Face masks will apply to parts of the Royal Shrewsbury Hospital and Telford's Princess Royal Hospital from Wednesday.