A comprehensive model for photomixing in ultrafast photoconductors