Growth of epitaxial thin films in the KTiOPO4 family of crystals