BJP credits Modi for UP victory