Structural phase transitions in AgTa0.5Nb0.5O3 thin films