Two key museums on Liverpool's Royal Albert Dock will close to the public for three years as they undergo a makeover as part of a £58m project to revamp the waterfront.