The world's largest free-standing museum dedicated to photography is set to be built in Morocco by British firm David Chipperfield Architects.