gamma-UPC: Automated generation of exclusive photon-photon processes in ultraperipheral proton and nuclear collisions with varying form factors