Simulating texture evolution and grain growth in metallic thin films