Maximal algebras of continuous functions