Abelian surfaces with an automorphism and quaternionic multiplication