The VVV survey: Long-period variable stars I. Photometric catalog of ten VVV/OGLE tiles