Photochemistry of 5-aminoquinoline in protic and aprotic solvents.