The Holevo bound and Landauer's principle