Universal analog computation on programmable nanophotonic integrated circuits