Applicative functor instances for Maybe and Either